#include "lua/quick/lua_cocos2dx_quick_manual.hpp"
#include "CCLuaEngine.h"

void package_quickui_register()
{
    auto engine = LuaEngine::getInstance();
    lua_State* L = engine->getLuaStack()->getLuaState();
    
    lua_getglobal(L, "_G");
    if (lua_istable(L, -1))//stack:...,_G,
    {
        register_all_quick_manual(L);
    }
    lua_pop(L, 1);
}

